package com.chihsien.framework.beans;

/**
 * @auther chihsien on 2021/7/1
 * 用来封装bean标签数据
 *              id
 *              class
 *              property 子标签属性
 */
public class BeanDefinition {
    private String id;
    private String className;
    private MutablePropertyValues propertyValues;

    public BeanDefinition() {
        propertyValues = new MutablePropertyValues();
    }

    public BeanDefinition(String id, String className, MutablePropertyValues propertyValues) {
        this.id = id;
        this.className = className;
        this.propertyValues = propertyValues;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public MutablePropertyValues getPropertyValues() {
        return propertyValues;
    }

    public void setPropertyValues(MutablePropertyValues propertyValues) {
        this.propertyValues = propertyValues;
    }
}
